//
//  AppDelegate.m
//  WhiteNoise
//
//  Created by 王亮 on 2020/8/11.
//  Copyright © 2020 liang. All rights reserved.
//

#import "AppDelegate.h"
#import "BaseViewController.h"
#import "TestViewController.h"
#import "TabBarController.h"
@interface AppDelegate ()

@end

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
//    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
//    BaseViewController *base = [[BaseViewController alloc]init];
//    TestViewController *test = [[TestViewController alloc]init];
    
    TabBarController *test = [[TabBarController alloc]init];
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    self.window.rootViewController = test;
    [self.window makeKeyAndVisible];
    
    return YES;
}



@end
